<div class="my-account">
    <?php
    echo $form->open();
    echo $form->renderGlobalErrors();
    ?>
    <div class="fieldset">
        <h2 class="legend">Account Information</h2>
        <ul class="form-list">
            <li class="fields">
                <div class="customer-name">
                    <div class="field name-firstname">
                        <label for="firstname" class="required"><em>*</em>First Name</label>
                        <div class="input-box">
                            <?php
                            echo $form['Profile']['first_name']->renderError();
                            echo $form['Profile']['first_name']->render(array('class'=>'input-text required-entry'))?>
                        </div>
                    </div>
                    <div class="field name-lastname">
                        <label for="lastname" class="required"><em>*</em>Last Name</label>
                        <div class="input-box">
                            <?php
                            echo $form['Profile']['last_name']->renderError();
                            echo $form['Profile']['last_name']->render(array('class'=>'input-text required-entry'))?>
                   
                        </div>
                    </div>
                </div>
            </li>
            <li>
                <label for="email" class="required"><em>*</em>Email Address</label>
                <div class="input-box">
                    <?php
                    echo $form['email']->renderError();
                    echo $form['email']->render(array('class'=>'input-text required-entry'))?>
                </div>
            </li>
        </ul>
    </div>
    <div class="fieldset" style="">
        <h2 class="legend">Change Password</h2>
        <ul class="form-list">
            <li class="fields passwordchange">
                <div class="field">
                    <label for="password" class="required"><em>*</em>New Password</label>
                    <div class="input-box">
                        <?php
                        echo $form['password']->renderError();
                        echo $form['password']->render(array('class'=>'input-text required-entry'))?>
                        
                    </div>
                </div>
                <div class="field">
                    <label for="confirmation" class="required"><em>*</em>Confirm New Password</label>
                    <div class="input-box">
                        <?php
                         echo $form['password_again']->renderError();
                         echo $form['password_again']->render(array('class'=>'input-text required-entry'))
                        ?>
                        
                    </div>
                </div>
            </li>
        </ul>
    </div>
    <div class="buttons-set">
        <p class="required">* Required Fields</p>
        <button type="submit" title="Save" class="button"><span><span>Save</span></span></button>
    </div>
    <?php
    echo $form->renderHiddenFields();
    echo $form->close();
    ?>
</div>
